package com.p2p.backend.service;

import java.util.Map;

import com.p2p.backend.model.P2PRecharge;
import com.p2p.base.model.Money;
import com.p2p.base.page.PageVo;

public interface P2PRechargeService {

	void saveP2PRecharge(P2PRecharge p2pRecharge);
	
	P2PRecharge findP2PRechargeById(Long id);
	
	void updateP2PRecharge(P2PRecharge p2pRecharge);
	
	void doPayment(Long id,String ip);

	PageVo listPage(PageVo form);
	
	public PageVo listPageForResultMap(PageVo form);
	
	Money sumForCondition(Map<String,Object> parames);
}
